﻿namespace EyFramework.Common
{
    /// <summary>
    /// 系统年龄定义
    /// </summary>
    public class SysAge
    {
        public int Age { set; get; }

        public string AgeUnit { set; get; }

        public SysAge(int _age, string _ageUnit)
        {
            this.Age = _age;
            this.AgeUnit = _ageUnit;
        }

        public override string ToString()
        {
            return Age + AgeUnit;
        }
    }
}